import { IPSAppDESideBarExplorerView } from './ipsapp-deside-bar-explorer-view';
import { PSAppDEMultiDataViewImpl } from './psapp-demulti-data-view-impl';

export class PSAppDESideBarExplorerViewImpl extends PSAppDEMultiDataViewImpl implements IPSAppDESideBarExplorerView {
  get sideBarLayout(): 'LEFT' | 'TOP' {
    return this.M.sideBarLayout;
  }

  get iFrameMode(): boolean {
    return this.M.iFrameMode;
  }

  get showDataInfoBar(): boolean {
    return this.M.showDataInfoBar;
  }

  get cls(): string {
    return 'PSAppDESideBarExplorerViewImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'app.view.IPSAppDEExplorerView' || cls == 'app.view.IPSAppDESideBarExplorerView' || cls == 'app.view.IPSAppExplorerView') return true;
    return super.instanceof(cls);
  }
}
